<%
     String u=(String)session.getAttribute("username");
   if(u == null || u.equals("")){
	   out.print("<script language='javascript'>alert('对不起，登陆时间已过期,请重新登陆!');window.location='index.jsp';</script>");
	   response.sendRedirect("userLogin.jsp");
   }
%>